<div style="float:left; border:2px solid blue"><span style="white-space:nowrap">
<img style="width:100px;height:100px;background-color:green">This is some text</span></div>
